package com.xt.base.model.base;

import com.xt.base.exception.UserError;
import com.xt.base.model.system.User;

/**
 * 用户错误PO模型 <br> *
 * 
 * <p>
 * <a href="UserErrorPO.java.html"><i>查看源文件</i></a>
 * </p>
 * 
 * @author 杨洪波
 * @version $Revision: $<br>
 *          $Id: $
 * @hibernate.subclass name="UserErrorPO" discriminator-value="UserErrorPO"
 */
public class UserErrorPO extends ErrorPO{

	private static final long serialVersionUID = 2621365988731790147L;
	
	/** 操作员 **/
	private User user;
	
	public UserErrorPO(){}

	public UserErrorPO(UserError err) {
		super(err);
	}


	public UserErrorPO(UserError err,User user) {
		super(err);
		this.user = user;
	}


	/**
	 * @hibernate.many-to-one column = "User_ID" inverse="true" lazy="true"
	 * @return 操作员
	 */
	public User getUser() {
		return user;
	}


	public void setUser(User user) {
		this.user = user;
	}

}
